var express = require('express');
var router = express.Router();
var db=require('../M/db.js')
// console.log(MongoClient);

/* GET home page. */
router.get('/', async function(req, res, next) {
  // console.log(MongoClient);
//  console.log( db.find('nav'));
//  var navs=await db.find('nav')
//  console.log(navs);

  res.render('index.art')
 
});router.get('/boutique', async function(req, res, next) {

  res.render('boutique.art')
 
});
router.get('/free', async function(req, res, next) {

  res.render('free.art')
 
});


module.exports = router;
